package com.zerone.dy.demomsg.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    @Id
    private String msgId;
    private int isGroup;//是否是群组消息 1:个人消息 2:群组消息
    private String formAcNo;
    private String to;
    private String msgTitle;
    private String msgContent;
    private Date createTime;
}
